function i = findStudent(student_arr, stu_name)
    flag = false;
    for i = 1:size(student_arr)
        if strcmp(student_arr(i,1).name, stu_name)
            flag = true;
            break;
        else
            continue;
        end
    end
    if flag == false
        i = flag;
    end
end